#include <types.h>
double CPUSpeed(void)
{
	double dRes;
	/*DWORD dwTimerHi, dwTimerLo;
	double dRes;
	asm
	{
		DW 0x310F
		mov dwTimerLo, EAX
		mov dwTimerHi, EDX
	}
	Sleep (500);
	asm
	{
		DW 0x310F
		sub EAX, dwTimerLo
		sub EAX, dwTimerHi
		mov dwTimerLo, EAX
		mov dwTimerHi, EDX
	}
	dRes = dwTimerLo/(1000.0*500);
	return dRes;*/
	return dRes;
}
